package com.yctan.base.exception;


import com.yctan.base.utils.DateUtils;

import java.io.Serializable;
import java.util.HashMap;

/**
 * @author sec
 * @create 2020-06-19 17:00
 **/
public class OpenApiErrorResponse extends HashMap<String, Object> implements Serializable {

    private static final long serialVersionUID = -4110967301982607497L;

    public OpenApiErrorResponse(String data) {
        super();
        this.put("data",data);
        this.put("reqtime", DateUtils.getNowDateString());
    }
}